TargetCarbon Constant

Used to indicate that you are compiling Carbon code.

Notes

result=TargetCarbon

Part

Type

Description

result

Boolean

Returns True if are compiling Carbon code, either as a standalone application or within REALbasic.



The Carbon version of REALbasic compiles as Carbon while running in the IDE.

TargetMacOSClassic, and TargetCarbon are mutually exclusive subsets of TargetMacOS. TargetCarbon is True if you are compiling for Macintosh in either the PEF or MachO formats. TargetMacOSClassic is True only if PPC code is running on a PowerPC under a 'classic' Mac OS.


See Also

DebugBuild, RBVersion, RBVersionString, TargetBigEndian, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMacOSClassic, TargetMachO, TargetWin32, TargetX86 constants; #If statement.